package circularity;

/**
 * This class represents an author of a single book.
 * 
 * This class participates in a one-to-one relationship with
 * BookCirc:
 *   AuthorCirc <1----1> BookCirc
 *   
 * @author Sachin Venugopalan
 * @since 27 February, 2012
 */
public class AuthorCirc {
	private BookCirc book;
	private String name;
	
	public AuthorCirc(String name){
		this.name = name;
	}
	
	public String getName() {
		return this.name;
	}
	
	public BookCirc getBook(){
		return book;
	}

	public void setBook(BookCirc book){
		this.book = book;
	}
}
